package com.kb.erp.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * 订单表(DesignOrder)实体类
 *
 * @author makejava
 * @since 2023-11-24 10:56:50
 */
@Data
@TableName("design_order")
@Accessors(chain = true)
public class DesignOrder  {


    @TableId(value = "id",type = IdType.AUTO)
    private Long id;
    private Long unitQuantity;
//    private Long unitQuantity;
    /**
     * 订单号
     */
    private String orderNo;
    /**
     * 订单类型

     */
    private String orderType;
    /**
     * 税率
     */
    private String invType;
    /**
     * 客户代码

     */
    private String customerCode;
    /**
     * 客户行业
     */
    private String customerProfession;
    /**
     * 客户名称
     */
    private String customerName;
    /**
     * 档案号

     */
    private String fileNumber;
    /**
     * 业务员代码

     */
    private String salesCode;
    /**
     * 业务员
     */
    private String salesName;
    /**
     * 合同号
     */
    private String contractNo;
    /**
     * 总金额
     */
    private BigDecimal totalAmount;
    /**
     * 订单管理员
     */
    private String orderManager;

    /**
     * 币种
     */
    private String currencyCode;

    /**
     * 订单日期
     */
    private Date orderDate;
    /**
     * 订单交期
     */
    private Date deliveryDate;
    /**
     * 贸易路径
     */
    private String tradeDesc;
    /**
     * 销售组织
     */
    private String salesOrg;
    /**
     * 生产组织
     */
    private String prodOrg;
    /**
     * 文件名
     */
    private String fileName;
    private String remark;

    private String createBy;
    /**
     * 设计订单 pin数取得是set数
     */
    private String pinAmount;
    private String unitPrice;

    private LocalDateTime createTime;
    
    private String updateBy;
    
    private LocalDateTime updateTime;

    private Long version;

    private String dept1;
    private String dept2;
    private String dept3;
}

